package com.gadgets.busi.bm03.fegin;

import com.gadgets.framework.common.dto.HttpBaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 功能说明：
 *
 * @author Unclexiu
 * @version V202101.00.000
 * @data 2022-09-15
 * 修改记录：  修改日期          修改人员    修改说明
 * 2022-09-15  xiujunqing   创建文件
 */
@FeignClient(value = "gadgets-config-framework", contextId = "mysqlGeneratorController")
public interface ISqlGeneratorSqlController {

	/**
	 * SQL生成器
	 * @return                  受理结果
	 */
	@RequestMapping(method = {org.springframework.web.bind.annotation.RequestMethod.POST},value = "sqlGenerator/mysqlBuild.do")
	@SuppressWarnings("rawtypes")
	HttpBaseResp sqlGeneratorForMySql(@RequestParam Map map);

	/**
	 * SQL生成器
	 * @return                  受理结果
	 */
	@RequestMapping(method = {org.springframework.web.bind.annotation.RequestMethod.POST},value = "sqlGenerator/oracleBuild.do")
	@SuppressWarnings("rawtypes")
	HttpBaseResp sqlGeneratorForOracle(@RequestParam Map map);

}
